#include <stdlib.h>

extern int test1(int argc, char* argv[]);
extern int test2(int argc, char* argv[]);
extern int test3(int argc, char* argv[]);
extern int test4(int argc, char* argv[]);

int main(int argc, char* argv[]) {
    if (argc > 1) {
        switch(atoi(argv[1])) {
        case 0:
            return test1(argc - 1, argv+1);
        case 1:
            return test2(argc - 1, argv+1);
        case 2:
            return test3(argc - 1, argv+1);
        case 3:
            return test4(argc - 1, argv+1);
        default:
            return -1;
        }
    }
    return test1(argc - 1, argv+1);
}
